package cn.wolfcode.edu.query;

import lombok.*;

import java.util.List;

/**
 * Created by abb on 2018-07-08.
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class QueryObject {
    private int page = 1;
    private int rows = 10;
    public int getStart(){
        return (page - 1) * rows;
    }


}
